Skip to content

CI: adopt tsgo and run Playwright perf nightly - #169

Merged
kostyafarber merged 1 commit into
mainfrom
ci/nightly-perf-tsgo
Jul 31, 2026
Merged

CI: adopt tsgo and run Playwright perf nightly#169
kostyafarber merged 1 commit into
mainfrom
ci/nightly-perf-tsgo

Conversation

@kostyafarber

Copy link
Copy Markdown
Collaborator

Summary

  • switch all workspace package typecheck scripts to the pinned TypeScript native preview (tsgo)
  • load Vite client types while preserving the existing SVGR declaration precedence
  • persist Typecheck Turbo results and avoid restoring the Rust cache when the native Turbo cache hits
  • run Playwright GPU and Perf as separate parallel macOS jobs on nightly schedules and manual runs
  • keep Engine Benchmarks on PR/main path-filtered runs and manual dispatches

Typecheck timing

Uncached direct desktop config runs on this machine:

  • tsc --noEmit -p apps/desktop/tsconfig.build.json: 16.10s
  • tsgo --noEmit -p apps/desktop/tsconfig.build.json: 3.87s

That is approximately a 4.2x speedup.

Validation

  • pnpm install --frozen-lockfile
  • pnpm typecheck
  • pnpm lint:check
  • pnpm format:check
  • pnpm test:unit
  • actionlint .github/workflows/ci.yml .github/workflows/perf.yml
  • commit hooks, including strict dead-code checks and the full Vitest suite

All passed. The local Nix Node environment required adding its SQLite library directory to LD_LIBRARY_PATH for native bridge tests.

@kostyafarber
kostyafarber merged commit 1521222 into main Jul 31, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant